<?php
    /**
     * Created by PhpStorm.
     * User: zgh
     * Date: 2021-08-06
     * Time: 10:03
     */

    namespace app\api\apidoc;

    use hg\apidoc\annotation as Apidoc;


    class CommonDoc
    {

        /**
         * @Apidoc\Param("file", type="file",require=true ,desc="上传的表单文件" )
         * @Apidoc\Returned ("upload_id",type="int",desc="上传返回的id"),
         * @Apidoc\Returned ("title",type="string",desc="文件的标题"),
         * @Apidoc\Returned ("src",type="string",desc="上传返回的url"),
         * @Apidoc\Returned ("cover_images",type="string",desc="如果是上传视频mp4 就是视频的封面图"),
         */
        public function upload()
        {
        }
    }